package com.base.common.persistent.dao;

import com.base.common.persistent.model.ShopOrder;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ShopOrderMapper {
    int deleteByPrimaryKey(Long id);

    int insert(ShopOrder record);

    int insertSelective(ShopOrder record);

    ShopOrder selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(ShopOrder record);

    int updateByPrimaryKey(ShopOrder record);

    int updateByOutTradeNo(ShopOrder shopOrder);

    List<ShopOrder> selectByCondition(ShopOrder shopOrder);

}